package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class FProfesorBuscar extends org.apache.struts.action.ActionForm {
    
    
    public FProfesorBuscar() {
        super();
        ci = "";

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        ci = "";

    }

    public static FProfesorBuscar clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FProfesorBuscar fFProfesorBuscar = (FProfesorBuscar) sess.getAttribute("FProfesorBuscar");
        if (fFProfesorBuscar == null) {
            fFProfesorBuscar = new FProfesorBuscar();
            sess.setAttribute("FProfesorBuscar", fFProfesorBuscar);
        } else {
            fFProfesorBuscar.reset(mapping, request);
        }
        return fFProfesorBuscar;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property ci.
     */
    private String ci;

    /**
     * Getter for property ci.
     * @return Value of property ci.
     */
    public String getCi() {
        return this.ci;
    }

    /**
     * Setter for property ci.
     * @param ci New value of property ci.
     */
    public void setCi(String ci) {
        this.ci = ci;
    }




}